#include<stdio.h>
#pragma warning(disable:4996)
int main()
{
	int a = 1; 
	int fact = 1;
	scanf("%d",&a);
	int i = 1;
	for (i = 1; i <= a; i++);
	{fact *= i; }
	printf("%d!=%d", a, fact);
	return 0;
}